-- card: 31928 from stack: in.07 Reference -- bmap block id: 0 -- flags: 0000 -- background id: 13647 -- name: -- part 1 (button) -- low flags: 00 -- high flags: A004 -- rect: left=325 top=161 right=183 bottom=354 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: := ----- HyperTalk script ----- on mouseUp go to card id 5983 end mouseUp -- part 2 (button) -- low flags: 00 -- high flags: A004 -- rect: left=252 top=80 right=102 bottom=281 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: "..." ----- HyperTalk script ----- on mouseUp go to card id 15821 end mouseUp -- part 3 (button) -- low flags: 00 -- high flags: 2004 -- rect: left=252 top=102 right=124 bottom=281 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: text utilities ----- HyperTalk script ----- on mouseUp go to card id 26423 end mouseUp -- part 4 (button) -- low flags: 00 -- high flags: A004 -- rect: left=315 top=223 right=245 bottom=351 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: <, ... ----- HyperTalk script ----- on mouseUp go to card id 23690 end mouseUp -- part 5 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=362 top=73 right=276 bottom=480 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: -- part 6 (button) -- low flags: 00 -- high flags: A004 -- rect: left=252 top=124 right=146 bottom=281 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: & ----- HyperTalk script ----- on mouseUp go to card id 23331 end mouseUp -- part contents for background part 1 ----- text ----- Constant text values are created with "..." Alterable text values are created with the utilities BLANKS and COPY. The text concatenation operator '&' also creates alterable strings. Text values are assigned to each other with the operator := If the assigned text is longer than the new value it is padded with spaces. A special case is when NOTEXT is assigned to a text value in which case it is effectively blanked. Text values are compared with the six usual operators. Text values are equal if they are both empty or have the same length and same character sequence. A text value ranks lower if it is empty or the first non-equal character ranks lower. -- part contents for background part 2 ----- text ----- Types - Text values -- part contents for card part 5 ----- text ----- Text t; t:-blanks(8); t:="ABCDEFGH"; ! same effect as :; t:-copy("ABCDEFGH"); t:="123456" if t="123456 " then OK; t:=notext; if t=blanks(8) then OK; t:="ABCDEF"; if t<"ABCE" then OK;